home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1995 August: Tool Chest / Dev.CD Aug 95 TC / Dev.CD Aug 95 TC.toast / New System Software Extensions / QuickDraw™ GX 1.1.2 / Programming Stuff / Sample Code / Printing Samples / Printer Drivers… / About the sample drivers… < prev    next >
Encoding:
Text File  |  1995-04-10  |  2.8 KB  |  54 lines  |  [ttro/ttxt]

  1. About the sample drivers…
  2.  
  3. This folder contains sample code for 10 functioning and buildable printer drivers, as well as another document containing routines for handling status messages and dialogs from a QuickDraw GX printer driver or printing extension.
  4.  
  5. This folder contains:
  6.  
  7. "ImageWriter"
  8.         Sample printer driver for the ImageWriter printer.
  9.  
  10. ImageWriter DTP renamer"
  11.         Same as "ImageWriter, but this sample shows you how you can rename desktop printers as they're created.  This is useful if you don't care for the default implementation that QuickDraw GX uses.
  12.  
  13. ImageWriter-- Chooser snooper"
  14.         Same as "ImageWriter, but this one shows how to read the value of the Chooser's pop-up menu.  YOU MUST INSTALL A DEBUGGER IF YOU USE THIS DRIVER!!  It drops into the debugger to show you the current value of the Chooser menu.
  15.  
  16. "ImageWriterLQ (alt. rdip)"
  17.         Sample printer driver for the ImageWriter LQ printer which uses different halftones than the shipping LQ driver.
  18.  
  19. "LaserWriterIISC"
  20.         Sample printer driver for the LaserWriter IISC printer.
  21.  
  22. "Generic LaserWriter"
  23.         Sample printer driver for a generic LaserWriter printer.
  24.  
  25. "Scanning Generic LaserWriter"
  26.         Same as "Generic LaserWriter" above, but this one expands the GX PostScript 'scan' resource handling to support developer defined status alerts and messages.
  27.  
  28. "Generic LW "30 sec Alert"
  29.         Same as "Generic LaserWriter" above, but this one puts up an alert before opening the printer connection.  If you don't click ok, the dialog is automatically torn down for you after 30 seconds.  This is obviously an alert example.
  30.  
  31. "LaserWriter-- custom dialogs"
  32.         Same as "Generic LaserWriter" above, but this one has customized old application dialogs.
  33.  
  34. "HPXL"
  35.         Sample printer driver for the HPXL - PaintJet XL plotter.
  36.  
  37. All drivers can be easily built by changing one line at the top of the respective "xxx.make" file.  You should change the indicated line to reference the QuickDraw GX interface files on your drive (or the seed CD).  To build a sample, set MPW's directory to the appropriate folder,  and then select the "Build" menu item.  In the dialog, enter the name of the built printer driver.
  38.  
  39. Printer Status Routines -
  40.  
  41. This file contains routines and resources that demonstrate how to use status dialogs and status messages from within a QuickDraw GX printer driver.  The sample routines cover:
  42.  
  43. Writing a status string to the desktop printer window.
  44. Implementing an interactive "Manual Feed" alert.
  45. Implementing an interactive "Printer Not Responding" alert.
  46. Implementing an interactive "Plotter Carousel Change" alert.
  47.  
  48. The "Printer Status Routines" file is filled with information that can help you design your own status dialog routines, even if you need to implement an alert other than one of those listed above.
  49.  
  50. Dave Hersey
  51. Apple Developer Technical Support
  52.  
  53. 7/14/94
  54. v1.0